package cn.iocoder.yudao.module.yyzx.controller.admin.content.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 护理内容 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ContentRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "2028")
    @ExcelProperty("主键")
    private Integer id;

    @Schema(description = "护理项名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("护理项名称")
    private String name;

    @Schema(description = "护理项价格", example = "30768")
    @ExcelProperty("护理项价格")
    private Double price;

    @Schema(description = "护理项描述")
    @ExcelProperty("护理项描述")
    private String descr;

    @Schema(description = "是否增值服务 ")
    @ExcelProperty(value = "是否增值服务 ", converter = DictConvert.class)
    @DictFormat("ADD_TYPE") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer isAdd;

    @Schema(description = "状态", example = "2")
    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("STATUS_TYPE") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer status;

    @Schema(description = "备注 ")
    private String remark;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}